package fictional.Common;

import java.util.SortedSet;
import java.util.TreeSet;

public class Wall extends SocialElement<WallItem>{
		
	public Wall(CharacterItem character) {
		this.character = character;
		this.collection = new TreeSet<WallItem>();
	}
	
	public void setWallPosts(SortedSet<WallItem> wallPosts) {
		collection = wallPosts;
	}
	
	public SortedSet<WallItem> getWallPosts(){
		return collection;
	}
	
	public void removeWallPost(WallItem wallPost) {
		removeItem(wallPost);
	}
	
	public void addWallPost(WallItem wallPost) {
		addItem(wallPost);
	}
}
